package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.model.domain.DmcRfidLabelOldman;
import com.csun.cmny.provider.model.dto.propertyManagement.SelectDeviceDataDto;
import com.csun.cmny.provider.model.dto.rfid.RfidLabelPageQuery;
import com.csun.cmny.provider.model.vo.propertyManagement.PropertyDataVo;
import com.csun.cmny.provider.model.vo.rfid.DmcRfidLabelVo;
import com.csun.cmny.provider.model.vo.RfidLabelReqVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DmcRfidLabelOldmanMapper extends Mapper<DmcRfidLabelOldman> {

    /**
     * query rfid label list with page
     *
     * @param rfidLabelPageQuery rfid label page query
     *
     * @return the page info.
     */
    List<DmcRfidLabelVo> queryRfidLabelListWithPage(RfidLabelPageQuery rfidLabelPageQuery);

    /**
     * query rfid label by oldman id list
     *
     * @param oldmanIdList oldman id list
     *
     * @return the list.
     */
    List<RfidLabelReqVo> queryRfidLabelByOldmanIds(@Param("oldmanIdList") List<Integer> oldmanIdList);

    /**
     * select rfid label by rfid label no
     *
     * @param labelNo the rfid label no
     *
     * @return the dmc rfid label vo
     */
    DmcRfidLabelVo selectByRfidLabelNo(String labelNo);

    List<PropertyDataVo> selectDeviceData(SelectDeviceDataDto selectDeviceDataDto);
}